package com.yin.spring5.autowire;

/**
 * Employee
 *
 * @author Yin Guiqing
 */
public class Employee {
    private String empName;
    private Department dept;

    public String getEmpName() {
        return empName;
    }

    public void setEmpName(String empName) {
        this.empName = empName;
    }

    public Department getDept() {
        return dept;
    }

    public void setDept(Department dept) {
        this.dept = dept;
    }

    @Override
    public String toString() {
        return "Employee{" +
                "empName='" + empName + '\'' +
                ", dept=" + dept +
                '}';
    }
}
